﻿using MediatR;
using SmartTracking.Domain.UserInfo;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Read.Application.Commands.Permission_command
{
    public class GetPermissionCommand:IRequest<ApiResult<ApiPaging<Permissions>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? PermissionName { get; set; }

    }
}
